﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_MoneyRequests
    {
        public M_FIM_MoneyRequests()
        {

        }

        public int money_req_seq
        {
            get;
            set;
        }

        public Nullable<int> bgm_source_seq
        {
            get;
            set;
        }

        public Nullable<int> bgm_year
        {
            get;
            set;
        }

        public Nullable<int> bgm_exp_grp_seq
        {
            get;
            set;
        }

        public Nullable<int> work_area_seq
        {
            get;
            set;
        }

        public Nullable<int> event_seq
        {
            get;
            set;
        }

        public Nullable<DateTime> money_req_date
        {
            get;
            set;
        }

        public string use_advance
        {
            get;
            set;
        }

        public Nullable<int> advance_bgm_source_seq
        {
            get;
            set;
        }

        public string ref_no
        {
            get;
            set;
        }

        public string doc_ref_no
        {
            get;
            set;
        }

        public string money_req_name
        {
            get;
            set;
        }
        public string money_req_name2
        {
            get;
            set;
        }

        public string money_req_name_plus
        {
            get;
            set;
        }

        public Nullable<int> bgm_proj_oper_seq
        {
            get;
            set;
        }

        public Nullable<int> emp_seq
        {
            get;
            set;
        }

        public Nullable<int> job_site_seq
        {
            get;
            set;
        }

        public Nullable<int> contact_seq
        {
            get;
            set;
        }

        public Nullable<int> icm_dn_seq
        {
            get;
            set;
        }

        public Nullable<int> approver_seq
        {
            get;
            set;
        }

        public Nullable<int> travel_req_seq
        {
            get;
            set;
        }

        public string borrow_no
        {
            get;
            set;
        }

        public Nullable<int> borrow_type_seq
        {
            get;
            set;
        }

        public Nullable<DateTime> borrow_start_date
        {
            get;
            set;
        }

        public Nullable<DateTime> borrow_end_date
        {
            get;
            set;
        }

        public Nullable<DateTime> borrow_return_date
        {
            get;
            set;
        }

        public Nullable<int> transfer_type_seq
        {
            get;
            set;
        }

        public string credit_card_no
        {
            get;
            set;
        }

        public string allow
        {
            get;
            set;
        }

        public Nullable<int> debtor_emp_seq
        {
            get;
            set;
        }

        public Nullable<int> debtor_contact_seq
        {
            get;
            set;
        }

        public Nullable<int> tran_grp_seq
        {
            get;
            set;
        }

        public string remarks
        {
            get;
            set;
        }

        public Nullable<int> transfer_job_site_seq
        {
            get;
            set;
        }

        public string transfer_job_site_name
        {
            get;
            set;
        }

        //public Nullable<int> pay_seq
        //{
        //    set { PAY_SEQ = value; }
        //    get { return PAY_SEQ; }
        //}


        public string bgm_source_name
        {
            get;
            set;
        }

        public string work_area_name
        {
            get;
            set;
        }

        public string bgm_proj_oper_code
        {
            get;
            set;
        }

        public string bgm_proj_oper_name
        {
            get;
            set;
        }

        public string bgm_exp_grp_name
        {
            get;
            set;
        }

        public string event_name
        {
            get;
            set;
        }

        public string emp_name
        {
            get;
            set;
        }

        public string job_site_name
        {
            get;
            set;
        }

        public string contact_name
        {
            get;
            set;
        }

        public string approver_name
        {
            get;
            set;
        }

        public string borrow_type_name
        {
            get;
            set;
        }

        public string debtor_emp_name
        {
            get;
            set;
        }

        public string debtor_contact_name
        {
            get;
            set;
        }

        //public Nullable<int> debtor_contact_seq
        //{
        //    get;
        //    set;
        //}

        //public string debtor_contact_name
        //{
        //    get;
        //    set;
        //}

        public Nullable<double> total_amount
        {
            get;
            set;
        }

        public Nullable<double> total_amount_vat
        {
            get;
            set;
        }

        public Nullable<double> total_amount_tax
        {
            get;
            set;
        }

        public Nullable<double> total_amount_penalty
        {
            get;
            set;
        }

        public Nullable<double> total_amount_redemption
        {
            get;
            set;
        }

        public Nullable<double> total_amount_deduction
        {
            get;
            set;
        }

        public Nullable<double> total_amount_fund
        {
            get;
            set;
        }

        public Nullable<double> total_amount_real
        {
            get;
            set;
        }

        public Nullable<double> percent_vat
        {
            get;
            set;
        }

        public Nullable<double> percent_tax
        {
            get;
            set;
        }

        public Nullable<int> petition_seq
        {
            get;
            set;
        }

        public Nullable<int> petition_dtls_seq
        {
            get;
            set;
        }

        public string petition_ref_no
        {
            get;
            set;
        }

        public string petition_no
        {
            get;
            set;
        }

        public string petition_type_name
        {
            get;
            set;
        }

        public string payee_name
        {
            get;
            set;
        }

        public string dn_ref_no
        {
            get;
            set;
        }

        public Nullable<double> return_amount
        {
            get;
            set;
        }

        public Nullable<double> receive_amount
        {
            get;
            set;
        }

        public Nullable<double> remain_amount
        {
            get;
            set;
        }

        public List<M_HRM_PR_PayrollDtls> m_hrm_pr_payrolldtls
        {
            get;
            set;
        }

        public Nullable<int> approved_by
        {
            get;
            set;
        }

        public Nullable<DateTime> approved_when
        {
            get;
            set;
        }

        public string record_status
        {
            get;
            set;
        }

        public string record_status_name
        {
            get;
            set;
        }

        public Nullable<int> created_by
        {
            get;
            set;
        }

        public Nullable<DateTime> created_when
        {
            get;
            set;
        }

        public Nullable<int> updated_by
        {
            get;
            set;
        }

        public Nullable<DateTime> updated_when
        {
            get;
            set;
        }

        public int? bidder_col_Id
        {
            get;
            set;
        }

        public bool? chk_tax_invoice
        {
            get;
            set;
        }
    }
}
